package user

import (
	"Project/global"
)

type UserArea struct {
	global.UserCommon
	UserID int64 `json:"user_id" gorm:"unique;NOT NULL; comment:区县用户唯一标识"`
	AreaID int64 `json:"area_id" gorm:"index;NOT NULL,comment:区县标识"`
}

func (UserArea) TableName() string {
	return "user_area"
}
